package com.sun.dream.fish.service;

import org.springframework.core.io.FileSystemResource;
import org.springframework.web.multipart.MultipartFile;

public interface IFileService {

    /**
     * 保存文件到指定目录
     *
     * @return 返回成功true 或 失败false
     */
    boolean storeExcelFile(MultipartFile file, String newName);

    FileSystemResource downloadExcelFile(String fileName);
}
